package com.fa4j.common.base.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 编辑命令
 */
@Data
public class ModifyCmd<T> extends AbstractCmd {

    @NotNull(message = "{validation.cmd.id.NotNull:'ID不能为空'}")
    @Schema(description = "主键ID")
    private T id;
}
